package com.zhihaoliang.baseframe.db.entity;

import androidx.room.Entity;
import androidx.room.Fts4;

/**
 * 创建日期：2020-02-24
 * 描述:用于数据优化
 * 作者:支豪亮
 */
@Entity(tableName = "productsFts")
@Fts4(contentEntity = ProductEntity.class)
public class ProductFtsEntity {
    private String name;

    private String description;


    public ProductFtsEntity(String name, String description) {
        this.name = name;
        this.description = description;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
